package com.project.common.service;

import com.project.common.entity.SysUserRole;

import java.util.List;

public interface SysRoleUserService {
    List<SysUserRole> queryByUserId(Integer userId);

    int deleteByPrimaryKey(Integer userId);

    int insert(SysUserRole record);

    int insertSelective(SysUserRole record);

    SysUserRole selectByPrimaryKey(Integer userId);

    int updateByPrimaryKeySelective(SysUserRole record);

    int updateByPrimaryKey(SysUserRole record);

    int deleteByUserId(Integer userId);

    int deleteByUserIdAndRoleId(Integer userId,Integer roleId);

    List<SysUserRole> selectByUserIdAndRoleId(Integer userId,Integer roleId);


}
